package com.qidian.mes.pro.service;

import com.qidian.mes.pojo.Technique;
import com.qidian.mes.util.dot.PagerDTO;
import com.qidian.mes.util.pojo.QdResult;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author dqy
 * @Description
 * @Time 2024/4/11 16:47
 */
@Transactional
public interface TechniqueService {
    QdResult saveTechnique(Technique technique);
    QdResult queryById(Long techniqueId);
    QdResult<List<Technique>> queryAll();
    QdResult<PagerDTO<Technique>> queryByPage(Technique technique, int start, int limit);
    QdResult updateTechnique(Technique technique);
    QdResult deletes(Long [] techniqueIds);
    QdResult deleteById(Long techniqueId);
}
